package com.xinruke.hostels.report.mapper;

import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @ClassName SingleQueryMapper
 * @CreateDate 2019/8/6
 * @Author FengXinQiang
 * @Version V1.0.0.0
 * @Decription 单一查询Mapper
 */
public interface SingleQueryMapper {

    /**
     * 获取入住订单集合
     *
     * @param paramMap
     * @param orderByStr
     * @return
     */
    public List<Map<String, Object>> getInHotelOrderdList(@Param("paramMap") Map<String, Object> paramMap, @Param("orderByStr") String orderByStr);

    /**
     * 获取入住订单合计
     *
     * @param paramMap
     * @param orderByStr
     * @return
     */
    public List<Map<String, Object>> getInHotelOrderdSum(@Param("paramMap") Map<String, Object> paramMap, @Param("orderByStr") String orderByStr);
}
